package com.zhuiyun.project.api.sysmenu.service;


import com.zhuiyun.project.api.sysmenu.model.SysMenuModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;

public interface SysMenuService {
    CommonResult getMenuList() throws CommonException;

    CommonResult deleteMenu(Integer id) throws CommonException;;

    CommonResult updateMenu(SysMenuModel sysMenuModel) throws CommonException;

    CommonResult saveMenu(SysMenuModel sysMenuModel) throws CommonException;

    CommonResult checkMenuTitle(String title) throws CommonException;

    CommonResult checkMenuUrl(String url) throws CommonException;

    CommonResult checkMenuName(String name) throws CommonException;

    CommonResult checkMenuCurl(String curl) throws CommonException;

    CommonResult getMenuByUser();


}
